package gwtmodule1.client.gui.shop;

import gwtmodule1.client.gui.PageShop.BasicCategoryItem;
import gwtmodule1.client.gui.utils.FrameClient;
import gwtmodule1.client.gui.utils.Title;

import com.google.gwt.user.client.ui.VerticalPanel;

public class PageCategory extends VerticalPanel implements FrameClient {

	private Title title = new Title("Category");

	public PageCategory() {
		super();
		add(title);
	}

	public void onShow(Object param) {
		title.setTitle(((BasicCategoryItem) param).getName(" -> "));

	}

}
